#include "Task.h"

Task::Task(function fun, void* paramter)
{
	this->fun = fun;
	this->paramter = paramter;
}

void Task::run()
{
	fun(paramter);
}
